home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / VGADOC4B.ZIP / UMC.TXT < prev    next >
Text File  |  1995-09-29  |  5KB  |  155 lines

  1. UMC UM85c408  max 1MB
  2. UMC UM85c418  max 1MB. 32bit bus. IDE HD controller built in.
  3.  
  4. Support chips:
  5.  
  6. UM9502     Clock chip. Supplies 25.175, 27.8?, 36, 65.1, 44.9, 50, 80, 75 MHz
  7.  
  8.  
  9.  
  10. UM70c178   High color 15/16 bit DAC (Similar to Sierra SC11487)
  11.  
  12.  
  13. 3BFh (R/W):
  14. Note: written with ACh on startup ?
  15.  
  16. 3C4h index 5 (R/W):
  17. bit   5
  18.       7
  19.  
  20. 3C4h index 6 (R/W):
  21. bit 0-3  Read bank in 64K units
  22.     4-7  Write bank in 64K units
  23.  
  24. 3C4h index 7 (R/W):
  25. bit   0  Clock Select bit 2 (bits 0-1 are in 3C2h/3CCh bits 2-3)
  26.       1
  27.       2  If set memory access is 16bit, if clear 8bit.
  28.       3
  29.       4  If set the "blanked" lines flash a copy of the 1st ? line
  30.     6-7  Video Memory: 0: 256K, 1: 512K, 2/3: 1MB
  31.          Set by BIOS on initialisation.
  32.  
  33. 3C4h index 8 (R/W):
  34. bit   0  If set trashes display ?
  35.       3  If set causes the first >200 pixels of each scanline to be blanked ??
  36.       5  If set changes the order/way pixels are displayed:
  37.          In 16 color modes each even byte is shown twice, causing the odd ones
  38.          to be skipped.
  39.          In "normal" 256color modes (3d4h index 33h bit 4 is clear), each even
  40.          bank (64K) is shown twice, causing the odd ones to be skipped.
  41.          In extended 256color modes (3d4h index 33h bit 4 is set) some strange
  42.          pixel replication happens
  43.       6  If set divides Video Clock by 2
  44.       7  If clear disables bit 0 of the bank registers
  45.  
  46. 3C4h index 9 (R/W):
  47. bit   2  Causes drastic color shifts if set??
  48.       3  Blanks display if set
  49.       7  If set divides Video Clock by 2
  50.  
  51. 3C4h index 0Ah (R/W):
  52.  
  53. 3CEh index  9  (R/W):
  54. bit   1  If set causes flashing on the start of color blocks ??
  55.       2  If set causes the image to be more crude (even pixels shown twice) ?
  56.       3  Changes the order/way pixels are decoded within each byte/word/dword.
  57.  
  58. 3CEh index 0Ah (R/W):  Scratch
  59. bit   0
  60.       1
  61.       2  If set HiColor is 64K, if clear 32K
  62.       3  If set only use lowest 2 bits of each bank register
  63.       4
  64.       6
  65.       7  If set only use lowest bit of the bank registers
  66.  
  67. 3CEh index 0Bh (R/W):  Scratch
  68. bit 0-7  Current Video Mode
  69.  
  70. 3d4h index 2Eh (R/W):
  71. bit   3  If set doubles each scan line
  72.       4  If set divides Video Clock by 3.5 ??
  73.       5  ??
  74.       7  ??
  75.  
  76. 3d4h index 2Fh (R/W):
  77. bit   0  Set if in an interlaced mode
  78.       1  If set disables access to memory above 256K ?
  79.     4-7  Affects the Clock selection ??
  80.  
  81. 3d4h index 33h (R/W):
  82. bit 0-1  Display Start Address bit 16-17
  83.       4  If set the display wraps at 256K
  84.       5  If set pixels are doubled both horizontally and vertically ??
  85.  
  86. 3d4h index 35h (R/W):                                               (418 only)
  87. bit 0-3
  88.  
  89.  
  90. Set if in an extended 256color mode
  91.  
  92.  
  93. ID UMC superVGA:
  94.  
  95.   old:=inp($3BF);
  96.   outp($3BF,3);
  97.   if not testinx($3C4,6) then
  98.   begin
  99.     outp($3BF,$AC);
  100.     if testinx($3C4,6) then UMC
  101.   end;
  102.   outp($3BF,old);
  103.  
  104.  
  105.  
  106. Modes:
  107.  
  108.   46h  T   132   25    2  (8x14)
  109.   47h  T   132   29    2  (8x12)
  110.   48h  T   132   32    2  (8x12)
  111.   49h  T   132   44    2  (8x8)
  112.   50h  G   640  480  32K  P15/P16    !Note: 32K or 64K is selected
  113.   51h  G   800  600  32K  P15/P16    !from 3CEh index Ah bit 2.
  114.   58h  T    80   32   16  (9x16)
  115.   5Ch  G   640  480  256  P8
  116.   5Eh  G   800  600  256  P8
  117.   5Fh  G  1024  768   16  PL4
  118.   60h  T   132   25   16  (8x14)
  119.   61h  T   132   29   16  (8x12)
  120.   62h  T   132   32   16  (8x12)
  121.   63h  T   132   44   16  (8x8)
  122.   64h  T   132   60   16  (8x8)
  123.   6Ah  G   800  100   16  PL4
  124.   6Bh  T   100   37   16  (8x16)
  125.   6Ch  G   800  600  256  P8
  126.   72h  T    80   60   16  (8x8)
  127.   73h  G   640  480   16  PL4
  128.   74h  T    80   66   16  (8x8)
  129.   78h  T   100   37   16  (8x16)
  130.   79h  G   800  600   16  PL4
  131.   7Ah  G  1280 1024   16  PL4
  132.   7Dh  G   512  512  256  P8
  133.   7Eh  G   640  400  256  P8
  134.   7Fh  G  1024  768  256  P8
  135.  
  136. ---------V-1012-A0----------------------------
  137. INT 10 - VIDEO - UMC - SET SCROLL TYPE
  138.         AH = 12h
  139.         BL = A0h
  140.         AL = Type of scroll in text modes
  141.               00h  Jump    (Sets 0:487h bit 6)
  142.               01h  Smooth  (Clears 0:487h bit 6)
  143. ---------V-102000-----------------------------
  144. INT 10 - VIDEO - UMC - GET BANKs
  145.         AH = 2000h
  146. Return: AL = 20h if supported
  147.         BL = Read bank
  148.         BH = Write bank
  149. ---------V-102001-----------------------------
  150. INT 10 - VIDEO - UMC - SET BANKs
  151.         AH = 2001h
  152.         BL = Read Bank
  153.         BH = Write Bank
  154. Return: AL = 20h if supported
  155.